package model_test;


import java.util.Random;

import model.Vokabel;

import org.junit.Test;

public class sds
{
	@Test
	public void fff()
	{
		Vokabel v = new Vokabel( "qqq" , "jjj" , 2 , 2 );
		Vokabel v2 = new Vokabel( "qqq" , "jjj" , 2 , 2 );
		
		System.out.println(v.equals( v2 ));
		
		int eins = 0;
		int zwei = 0;
		int drei = 0;
		int vier = 0;
		int funf = 0;
		for (int i=1 ; i <= 100; i++)
		{
			int rnd = new Random().nextInt(5)+1;
			
			switch ( rnd )
			{
				case 1 : eins++;  break;
				case 2 : zwei++;  break;
				case 3 : drei++;  break;
				case 4 : vier++;  break;
				case 5 : funf++;  break;

				default :
					break;
			}
			
			
			System.out.println(rnd);
		}
		
		System.out.print(eins+" "+eins / 100f * 100+"\n");  
		System.out.print(zwei+" "+zwei/100f*100+"\n");
		System.out.print(drei+" "+drei/100f*100+"\n");
		System.out.print(vier+" "+vier/100f*100+"\n");
		System.out.print(funf+" "+funf/100f*100+"\n");
	}
}
